package com.jctrip.hotel.management.model.result;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExportOrderXlsxResult implements Serializable {
    private static final long serialVersionUID = 1L;

    @ExcelProperty("销售渠道")
    private String routeName;

    @ExcelProperty("系统订单号")
    private String orderId;

    @ExcelProperty("渠道订单号")
    private String routeOrderId;

    @ExcelProperty("渠道拓展订单号")
    private String routeExtendOrderId;

    @ExcelProperty("预定单号")
    private String bookId;

    @ExcelProperty("渠道订单状态")
    private String routeOrderStatus;

    @ExcelProperty("酒店ID")
    private String routeHotelId;

    @ExcelProperty("酒店名称")
    private String routeHotelName;

    @ExcelProperty("供应商酒店id")
    private String sourceHotelId;

    @ExcelProperty("价格计划")
    private String routeRatePlanName;

    @ExcelProperty(value = "入住日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date arriveDate;

    @ExcelProperty(value = "退房日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date departDate;

    @ExcelProperty("间数")
    private Integer roomCount;

    @ExcelProperty("间夜")
    private Long roomNight;

    @ExcelProperty("联系人")
    private String contactName;

    @ExcelProperty("联系电话")
    private String contactTel;

    @ExcelProperty("公司名称")
    private String companyName;

    @ExcelProperty("企业支付")
    private String companyPayment;

    @ExcelProperty("备注")
    private String manualNotes;

    @ExcelProperty("客人付款金额")
    private BigDecimal paymentPrice;

    @ExcelProperty("平台佣金")
    private BigDecimal commissionPrice;

    @ExcelProperty("应结算金额")
    private BigDecimal receivablePrice;

    @ExcelProperty("采购金额")
    private BigDecimal purchasePrice;

    @ExcelProperty("利润")
    private BigDecimal profitPrice;

    @ExcelProperty("供应商来源")
    private String sourceCode;

    @ExcelProperty("供应账户")
    private String sourceName;

    @ExcelProperty("供应商订单号")
    private String sourceOrderId;

    @ExcelProperty("订单状态")
    private String sourceOrderStatus;

    @ExcelProperty(value = "下单时间")
    private Date routeOrderCreateTime;

    @ExcelProperty(value = "采购时间")
    private Date sourceOrderCreateTime;
}
